package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 人员房屋关联表
 * </p>
 *
 * @author zly
 * @since 2022-03-24
 */
@ApiModel(value="TUserHouse对象", description="人员房屋关联表")
@Data
@ToString
public class TUserHouse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态1-正常2-停用")
    private Integer status;

    @ApiModelProperty(value = "房屋id")
    private Long houseId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "人员类型id")
    private Long userTypeId;
}
